/*************************************************************************
	> File Name: test-6-3-b.c
	> Author: Angel Criss
	> Mail: abbytsing@gmail.com 
	> Created Time: Fri Jul 25 20:49:46 2014
 ************************************************************************/

#include "6-3.h"
#include "6-3-b.c"

extern char **environ;

int main(int argc,char *argv[])
{
    if(argc<1)
    {
        printf("%s name\n",argv[0]);
    }

    char **ep;

    if(myunsetenv(argv[1])==-1)
        err("mysetenv");

    for(ep=environ;*ep!=NULL;ep++)
        puts(*ep);

    return;
}

